package com.woniuxy.microretailserver.bean;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author chenhu
 * 订单实体类
 */
@Data
@ExcelTarget("goodsOrder")
public class GoodsOrderPayExportBean implements Serializable {

    @Excel(name = "编号")
    private long id;//订单id
    @Excel(name = "订单号",width = 40.0)
    private String orderNo;//订单号
    @Excel(name = "下单时间",width = 35.0,format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;//下单时间
    @Excel(name = "会员账号",width = 30.0)
    private long memberPhone;//会员账号
    @Excel(name = "订单金额")
    private BigDecimal orderMoney;//订单金额
    @Excel(name = "门店名称")
    private String store;//门店名称
    @Excel(name = "终端编号")
    private long terminal;//终端编号
    @Excel(name = "商品总数量")
    private long goodsCount;//购买商品总数量
    @Excel(name = "收银人员")
    private String userName;//收银人员
    @Excel(name = "交易状态")
    private String reduction;//交易状态
    @Excel(name = "支付方式")
    private String payment;//支付方式
    @Excel(name = "支付流水号",width = 20.0)
    private String paymentNum;//支付流水号
}
